package org.igeek.config.autowired;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;

/**
 * @package org.igeek.config.autowired
 * @Description
 * @Author LittlePunk [296526219@qq.ccom]
 * @Version 2022.1
 * @Date 2023/11/14 14:49
 */
@Controller("userController")
public class UserController {
    //第一种方式
    @Autowired
    @Qualifier("employeeService")
    private IService iService;
    public void register(){
        iService.register();
    }
}
